import request from "@/utils/request";
/**
 * 供应商api
 */
export function supplierList(data) {
  return request({
    url: "/material/supplier/list",
    method: "post",
    data,
  });
}

export function addAndUpdate(data) {
  return request({
    url: "/material/supplier/addAndUpdate",
    method: "post",
    data,
  });
}

export function supplierDelete(data) {
  return request({
    url: "/material/supplier/delete",
    method: "post",
    data,
  });
}